package com.xiaoyu.daggertest.bean;

import android.content.Context;
import android.widget.Toast;

/**
 * Created by yaodonglv on 2018/3/14.
 */

public class Person {

    private Weapon mWeapon;

    public Person(Weapon weapon) {
        this.mWeapon = weapon;
    }

    public void useWhatWeapon(Context context, Weapon weapon) {

        Toast.makeText(context, weapon.getName(), Toast.LENGTH_SHORT).show();

    }

}
